RTC Alarm Control
ALARM REGISTER MASK BITS
(Bit 7 of 207h to 20Ah)
DS1921H/Z
MS
MM
MH
MD
1
0
0
0
0
1
1
0
0
0
1
1
1
0
0
1
1
1
1
0
Alarm once per second.
Alarm when seconds match (once per minute).
Alarm when minutes and seconds match (once every hour).
Alarm when hours, minutes and seconds match (once every day).
Alarm when day, hours, minutes, and seconds match (once every
week).
TEMPERATURE CONVERSION
The DS1921H and DS1921Z measure temperatures with a resolution of 1/8 th of a degree Celsius.
Temperature values are represented in a single byte as an unsigned binary number, which translates into a
range of 32°C. The possible values are 0000 0000 (00h) through 1111 1111 (FFh). The codes 01h to FEh
are considered valid temperature readings. Since the DS1921H and DS1921Z have different starting
temperatures, the meaning of a binary temperature code depends on the device.
If a temperature conversion yields a temperature that is out-of-range, it will be recorded as 00h (if too
low) or FFh (if too high). Since out-of-range results are accumulated in histogram bins 0 and 63 the data
in these bins is of limited value (see the Temperature Logging and Histogram section). For this reason the
specified temperature range of the DS1921H and DS1921Z is considered to begin at code 04h and end at
code FBh, which corresponds to histogram bins 1 to 62.
With T[7..0] representing the decimal equivalent of a temperature reading, the temperature value is
calculated as
? (°C) = T[7…0] / 8 + 14.500 (DS1921H)
? (°C) = T[7…0] / 8 - 5.500 (DS1921Z)
This equation is valid for converting temperature readings stored in the datalog memory as well as for
data read from the forced temperature conversion readout Register (address 211h).
To specify the high or low temperature alarm thresholds, this equation needs to be resolved to
T[7…0] = 8 * ? (°C) -116 (DS1921H)
T[7…0] = 8 * ? (°C) + 44 (DS1921Z)
A value of 23°C, for example, thus translates into 68 decimal or 44h for the DS1921H, and 228 decimal
or E4h for the DS1921Z. This corresponds to the binary patterns 0100 0100 and 1110 0100 respectively,
which could be written to a Temperature Alarm Register (address 020Bh and 020Ch, respectively).
Temperature Alarm Register Map
ADDR
020Bh
020Ch
b7
b6
b5 b4 b3 b2
Temperature Low Alarm Threshold
Temperature High Alarm Threshold
b1
b0
8 of 45
相关PDF资料
DS1921K# KIT IBUTTON THERMOCHRON
DS1922E-F5# IBUTTON TEMP LOGGER 4KBit F5
DS1922L-F5# IBUTTON TEMP LOGGER
DS1923-F5# IBUTTON TEMP/HUMIDITY LOGGER F5
DS1961S-F3# IBUTTON EEPROM 1KBit F3
DS1963S-F5+ IBUTTON MONETARY SHA-1
DS1971-F3+ IBUTTON EEPROM 256KBIT F3
DS1972-F3+ IBUTTON EEPROM 1KBit F3
相关代理商/技术参数
DS1921H-F5/A1C 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921H-F5+A1C 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921H-F50 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921K 功能描述:存储器 IC 开发工具 RoHS:否 制造商:STMicroelectronics 产品:Reference Boards 工具用于评估:M24LR64-R 存储容量:64 kbit 存储类型:EEPROM 工作电源电压:1.8 V to 5.5 V
DS1921K# 功能描述:温度传感器开发工具 Thermochron iButton Kit RoHS:否 制造商:Texas Instruments 产品类型:Temperature Sensors and Control ICs 工具用于评估:MSP430G2553 接口类型:USB 工作电源电压: 工作电源电流:
DS1921L-F50 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton
DS1921L-F51 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton
DS1921L-F52 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:Thermochron iButton